<template>
	<a class="no-data" v-if="show">
		<img src="@/assets/images/404.svg" v-if="img" />{{text}}
	</a>
</template>

<script>
export default {
	props: {
		show: {
			type: Boolean , 
			required: true , 
		},
		text: {
			type: String ,
			required: false , 
			default: "暂无数据"
		},
		img: {
			type: Boolean ,
			required: false ,
			default: true , 
		}
	}
}
</script>

<style>
</style>